package com.aoxon.cargo.service;

import java.util.HashMap;

import com.aoxon.cargo.bean.GsonBean;

/**
 * 获取物品搜索提示文本的服务
 * 
 * @author ZZJ
 * 
 */
public class SearchGoodsTipsService extends MyService {

	/**
	 * 根据文本搜索提示内容
	 * 
	 * @param startIndex
	 * @param length
	 * @param searchText
	 * @return
	 */
	public GsonBean execute(int startIndex, int length, String searchText) {

		url = "searchClothWord" + suffix;

		params = new HashMap<String, String>();
		params.put("startIndex", String.valueOf(startIndex));
		params.put("length", String.valueOf(length));
		params.put("searchText", searchText);

		return doPost();

	}

}
